import React from 'react';
import styles from './RegisterLayout.less';
import img from '../assets/image/longLogo.png';
import { Divider } from 'antd';
import { Link } from 'umi';

export default class RegisterLayout extends React.Component{
	render(){
		return (
			<>
				<div className={styles.register}>
					<div className={styles.content}>
						<div className={styles.header}>
		                    <div className={styles.logo}>
		                        <img width="112" height="36" src={img} />
		                        <Divider type="vertical" />
		                        <span>注册</span>

		                        <Link to="/user/login" style={{
					              float: 'right',
					            }}>
					            	登录
					            </Link>
		                    </div>
	                    </div>
	                    {this.props.children}
                    </div>
				</div>
			</>
		)
	}
}